package com.itboy.mall.pms.skusaleattrvalue.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * sku销售属性&值对象 mall_sku_sale_attr_value
 *
 * @author itboy
 * @date 2021-08-08
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("mall_sku_sale_attr_value")
public class MallSkuSaleAttrValue implements Serializable {

    private static final long serialVersionUID=1L;


    /**
     * id
     */
    @TableId(value = "id")
	@JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * sku_id
     */
	@JsonSerialize(using = ToStringSerializer.class)
    private Long skuId;

    /**
     * attr_id
     */
	@JsonSerialize(using = ToStringSerializer.class)
    private Long attrId;

    /**
     * 销售属性名
     */
    private String attrName;

    /**
     * 销售属性值
     */
    private String attrValue;

    /**
     * 顺序
     */
    private Long attrSort;

}
